# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         test01
# Description:
# Author:       98745
# Date:         2019/4/13
#-------------------------------------------------------------------------------
# import os
# os.makedirs('t3.txt')
# f=open('./t2.txt','a+')
# f.write(' love python?')
# f.seek(0)
# print(f.read())
# f.seek(0)
# print('-----')
# print(f.read())
# f.close()
import os
import re
print(os.getcwd())
f=open('C:/Users/98745/PycharmProjects/xuni/class13/samples/ts.txt','a+')
# print(f.write('hello'))
# f=open('\class13\samples\pan.txt','a+')
f.seek(0)

r=f.read()
print(f.read())
# print(r)
print(type(f.read()))
s=re.split(' ',r)
print(s)

